﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LJ.WebApi.Abstractions.DynamicWebApi.Attributes;

[AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
public class DynamicWebApiMethodAttribute(string action) : Attribute
{
    public string Action { get; set; } = action;

    public HttpMethod HttpMethod { get; set; } = HttpMethod.Post;

}
